package com.spring.service.news;

import java.util.List;
import java.util.Map;

import com.hibernate.pojo.Articles;
import com.struts.form.ArticlesForm;

public interface ArticlesService {
	
	public boolean newsAdd(ArticlesForm articlesform);
	public boolean updateNewsAudit(ArticlesForm articlesform);
	public boolean updateNews(ArticlesForm articlesform);
	public Map updateNewsView(Long id);
	public boolean deleteNews(Long id);
	public Map findNews(int page, int articlesleibieID);
	public List findNewsTypes(String hql);
	
	//batch delete articles
	public boolean deleteBatchNews(String ids);
	
	//batch update articles leibie
	public boolean updateBatchNewsLeibie(String leibies,Long categry);
}
